#ifndef __BUOLA_SCENE_TRANSFORM_CMATTRANSFORM_H__
#define __BUOLA_SCENE_TRANSFORM_CMATTRANSFORM_H__

#include <buola/scene/ctransform.h>
#include <buola/mat/transformations.h>

namespace buola { namespace scene {

class CMatTransform : public CTransform
{
public:
    CMatTransform(const mat::CMat34d &pMat=mat::CMat34d())
        :   mMatrix(pMat)
    {}

    void SetMatrix(const mat::CMat34d &pMat);

    const mat::CMat34d &Matrix()   {   return mMatrix;    }

private:
    virtual void CalcLocalTransform();

private:
    mat::CMat34d mMatrix;
};

/*namespace scene*/ } /*namespace buola*/ }

#endif
